Skip to content

Conversation

@gty404
Copy link
Contributor

@gty404 gty404 commented Oct 12, 2025

This commit introduces the metadata update and update requirements system for table metadata modifications.

@gty404 gty404 force-pushed the table-metadata branch 5 times, most recently from b147683 to d76a780 Compare October 12, 2025 07:51
@gty404 gty404 changed the title feat: implement metadata updates and update requirements feat: add metadata updates and requirements interface Oct 15, 2025
Copy link
Collaborator

@zhjwpku zhjwpku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was initially confused about renaming MetadataUpdate to TableUpdate and UpdateRequirement to TableRequirement, but after checking the iceberg-rust and iceberg-python implementations, it now makes sense to me.

@wgtmac
Copy link
Member

wgtmac commented Oct 16, 2025

While I know both iceberg-python and iceberg-rust name them as TableUpdate and TableRequirement. However, it might looks weird to use Table prefix in terms of dealing with updates to table, view and perhaps the in-discussion materialized view.

WDYT? @Fokko @liurenjie1024

@liurenjie1024
Copy link

While I know both iceberg-python and iceberg-rust name them as TableUpdate and TableRequirement. However, it might looks weird to use Table prefix in terms of dealing with updates to table, view and perhaps the in-discussion materialized view.

WDYT? @Fokko @liurenjie1024

Thanks @wgtmac for pinging me. I prefer to add an prefix to improve readability.

Copy link
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks good. I left some minor comments.

@wgtmac
Copy link
Member

wgtmac commented Oct 17, 2025

Thanks @liurenjie1024 for the input! I think we should stick with the rest catalog api to use TableUpdate, ViewUpdate, etc.

gty404 added 10 commits October 17, 2025 11:35
This commit introduces the metadata update and update requirements
system for table metadata modifications.
This commit introduces the metadata update and update requirements
system for table metadata modifications.
Copy link
Member

@wgtmac wgtmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I've just left a comment w.r.t. class names.

@wgtmac wgtmac merged commit b2b38af into apache:main Oct 17, 2025
10 checks passed
@gty404 gty404 deleted the table-metadata branch October 17, 2025 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants